﻿Public Class BBrowserMediaPlayer

    Private Sub BBrowserMediaPlayer_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        Label2.Text = My.Settings.MediaURL
        AxWindowsMediaPlayer1.URL = Label2.Text
        Timer1.Enabled = True
        Timer1.Start()
    End Sub

    Private Sub Timer1_Tick(ByVal sender As Object, ByVal e As System.EventArgs) Handles Timer1.Tick
        AxWindowsMediaPlayer1.Ctlcontrols.play()
        Timer1.Stop()
        Timer1.Enabled = False
    End Sub
End Class